package com.xsd.memento.theory;

/**
 * @Description: 备忘录对象 负责保存好记录 即Originator 的状态
 * @Author: zhoufuzong
 * @Created: 2021-03-07 16:52:44
 * @Version: 1.1.0
 */

public class Memento {
    private String state;


    public Memento(String state) {
        this.state =state;
    }

    public String getState() {
        return state;
    }

    public Memento setState(String state) {
        this.state = state;
        return this;
    }
}
